package com.cloudbroker.bcs.platform.ltb.bizapi.service.credits.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.NotEmpty;
import com.cloudbroker.bcs.common.validatioin.annotation.NotNull;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.UserVO;

/**
 * Created by lili19289 on 2016/11/9.
 */
public class CreditsRuleAddForm extends UserVO {


    @NotNull
    public Integer business_type;

    public int priority_level;

    @NotNull
    public Integer credits;

    public int max_count;//此规则每日上限次数(0 无上限)

    public int credits_upper_flag;//此规则每日金币上限标识(0.不设置 1.设置)

    public int credits_upper_value;//金币上限值

    public long start_time;

    public long end_time;

    public String memo;

    @NotEmpty
    public String company_id;

    public Integer getBusiness_type() {
        return business_type;
    }

    public void setBusiness_type(Integer business_type) {
        this.business_type = business_type;
    }

    public int getPriority_level() {
        return priority_level;
    }

    public void setPriority_level(int priority_level) {
        this.priority_level = priority_level;
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public int getMax_count() {
        return max_count;
    }

    public void setMax_count(int max_count) {
        this.max_count = max_count;
    }

    public int getCredits_upper_flag() {
        return credits_upper_flag;
    }

    public void setCredits_upper_flag(int credits_upper_flag) {
        this.credits_upper_flag = credits_upper_flag;
    }

    public int getCredits_upper_value() {
        return credits_upper_value;
    }

    public void setCredits_upper_value(int credits_upper_value) {
        this.credits_upper_value = credits_upper_value;
    }

    public long getStart_time() {
        return start_time;
    }

    public void setStart_time(long start_time) {
        this.start_time = start_time;
    }

    public long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(long end_time) {
        this.end_time = end_time;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }
}
